package com.ciis.base.ztree;

/**
 * Created with IntelliJ IDEA.
 * User: zhangdajun
 * Date: 14-4-9
 * Time: 下午10:14
 * To change this template use File | Settings | File Templates.
 */
public class Tree {

    private String id;
    private String name;
    private String level;
    private String pId;
    private String url;
    private boolean isParent;
    private boolean isHidden;
    private boolean checked = false;
    private boolean halfChecked = false;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(boolean parent) {
        isParent = parent;
    }

    public boolean isHidden() {
        return isHidden;
    }

    public void setHidden(boolean hidden) {
        isHidden = hidden;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public boolean isHalfChecked() {
        return halfChecked;
    }

    public void setHalfChecked(boolean halfChecked) {
        this.halfChecked = halfChecked;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
